import service1 from '@/util/request'
import {post} from "axios";

export default{


    findorder(){
        return service1({
            url: '/order/list',
            method: 'get',
        })
    },

    findByPage(page,pageSize){
        return service1({
            url: `/order/findByPage/${page}/${pageSize}`,
            method: 'get',
        })
    },

    search(page,pageSize,data){
        return service1({
            url:`/order/search/${page}/${pageSize}`,
            method:'post',
            data
        })

    },

    save(url,method,data){
        return service1({
            url,
            method,
            data
        })
    },

    deleteorder(ids){
        return service1({
            url:`/order/delete/${ids}`,
            method:'delete'
        })

    }


}